import {defineStore} from 'pinia'

const useStore = defineStore('useStore',{
    state:() => ({
        router:false,
        project:{id:0,title:''}
    }),
    actions:{
        selectProject(data:boolean){
            this.router = data
        },
        setProject(data:any){
            this.project = data
        }
    }
})

export default useStore